#pragma once
#include <Windows.h>

enum PIN_STATUS
{
    INVALID_PIN, VALID_PIN, INVALID_PIN_LOCK
};
class CCardBussiness
{
public:
    CCardBussiness(void);
    ~CCardBussiness(void);

	//Ham check validate cua card
	bool CheckValidateCard(char* g_sCardIDInput, HWND hWnd);

    //Ham check xem ma PIN co dung khong
    bool CheckValidPIN(const char* sPINInput, const char* sPINCard);

    //Ham check authenticate user
    int CheckUserAuth(const char* sPINInput, const char* sPINCard);

    //Ham check new PIN
    bool CheckNewPIN(char* sNewPIN, const char* sNewPINRepeat);
};
